from flask import render_template, current_app

from . import index_blu


# 新闻页面的视图函数
@index_blu.route('/')
def index():
    return render_template('news/index.html')


# 标题图标的视图函数
@index_blu.route('/favicon.ico')
def favicon():
    return current_app.send_static_file('news/favicon.ico')


